static_library("Format") {
  output_name = "clangFormat"
  configs += [ "//llvm/utils/gn/build:clang_code" ]
  deps = [
    "//clang/lib/Basic",
    "//clang/lib/Lex",
    "//clang/lib/Tooling/Core",
    "//clang/lib/Tooling/Inclusions",
    "//llvm/lib/Support",
  ]
  sources = [
    "AffectedRangeManager.cpp",
    "BreakableToken.cpp",
    "ContinuationIndenter.cpp",
    "DefinitionBlockSeparator.cpp",
    "Format.cpp",
    "FormatToken.cpp",
    "FormatTokenLexer.cpp",
    "IntegerLiteralSeparatorFixer.cpp",
    "MacroCallReconstructor.cpp",
    "MacroExpander.cpp",
    "NamespaceEndCommentsFixer.cpp",
    "QualifierAlignmentFixer.cpp",
    "SortJavaScriptImports.cpp",
    "TokenAnalyzer.cpp",
    "TokenAnnotator.cpp",
    "UnwrappedLineFormatter.cpp",
    "UnwrappedLineParser.cpp",
    "UsingDeclarationsSorter.cpp",
    "WhitespaceManager.cpp",
  ]
}
